-
Home
-
WP ERP | Complete HR solution with recruitment & job listings | WooCommerce CRM & Accounting
-
1.8.6
-
Code
-
Classes
- Vendors_Controller
| Total Complexity |
61 |
| Dependencies |
3 |
| Dependents |
0 |
| Total lines |
850 |
| Lines of code |
608 |
| Logical lines of code |
216 |
| Comment lines |
118 |
| Methods |
15 |
| Properties |
2 |
Methods 15
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| prepare_item_for_database() |
B |
40 |
20 |
63 |
| get_item_schema() |
A |
32 |
1 |
166 |
| get_vendors() |
A |
46 |
7 |
36 |
| register_routes() |
S |
36 |
1 |
116 |
| get_vendor() |
S |
50 |
6 |
26 |
| add_log() |
S |
51 |
6 |
25 |
| get_vendor_products() |
S |
51 |
4 |
26 |
| bulk_delete_vendors() |
S |
53 |
4 |
22 |
| prepare_item_for_response() |
S |
48 |
3 |
34 |
| update_vendor() |
S |
54 |
2 |
20 |
| delete_vendor() |
S |
55 |
2 |
18 |
| create_vendor() |
S |
57 |
2 |
16 |
| prepare_product_item_for_response() |
S |
54 |
1 |
21 |
| filter_transactions() |
S |
61 |
1 |
13 |
| get_transactions() |
S |
69 |
1 |
6 |